﻿using MDT.LifeSewagePlatform.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace MDT.LifeSewagePlatform.IRepository
{
    public interface IDrugDayRespository:IBaseRepository<DrugDayEntity>
    {
        public IQueryable<DrugDayView> GetDrugViews(Expression<Func<DrugDayView, bool>> expression);
        public IQueryable<DrugDayView> GroupBySite(IQueryable<DrugDayView> drugs);

        public  Task<List<DrugDayView>> GroupByDrugDays(IQueryable<DrugDayView> drugDays);
    }
}
